/**
 * Created by zhaomi on 16/4/27.
 */
var stu_dao=require('../dao/student_dao')
var web_socekt=require('../sockets/stuclass')
var teacher= module.exports =function(){
    this.id=0
    this.username=''
    this.name=''
}
module.exports={
    call_name: function(grade,classroom,cb){
        stu_dao.getAllStudentsByClassroom(grade,classroom,cb)
    },
    send_topic:function(classId,cb){
        stu_dao.getAllStudentsByClassId(classId,cb)
    }
    
}
